package com.zrx.domain.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 张荣欣
 * @create ：2022/9/16  14:41
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "前台查询文章详情", description = "前台查询文章详情")
public class ArticleDedailVo {

    @TableId
    @ApiModelProperty(value = " ")
    private Long id;

    @ApiModelProperty(value = " 标题")
    private String title;


    @ApiModelProperty(value = " 文章摘要")
    private String summary;

    @ApiModelProperty(value = " 所属分类名")
    private Long categoryId;

    @ApiModelProperty(value = " 所属分类名")
    private String categoryName;

    @ApiModelProperty(value = " 缩略图")
    private String thumbnail;

    @ApiModelProperty(value = " 文章内容")
    private String content;

    @ApiModelProperty(value = " 访问量")
    private Long viewCount;


    @ApiModelProperty(value = " ")
    private Date createTime;
}
